﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameFramework.Fsm;

public class GuessState_QuaklyMove : GuessStateBase<GuessControl>
{

    protected override void OnEnter(IFsm<GuessControl> fsm)
    {
        base.OnEnter(fsm);

        fsm.Owner.Speed = 10;
        
    }

    protected override void OnKeyDown(KeyCode obj)
    {
        if (obj == KeyCode.Return || obj == KeyCode.KeypadEnter)
        {


            ChangeState<GuessState_Stoping>(_fsm);
        }
    }
}
